
import java.util.Calendar;
import java.util.Timer;
import java.util.TimerTask;
 
public class TimeOn{
	
	private static final long serialVersionUID = 1L;
	Ranking ra=new Ranking();
	public static void operateOnTime(){
		 
		 TimerTask task = new TimerTask() {
			 public void run() {
				
			  try {
	          HttpTest.main(null);
	         
			  }
			  catch (Exception err) {
			  System.out.println(err.getMessage()); 
			  }
			
			
	}
			
	};
	Timer timer = new Timer();
	timer.schedule(task, Calendar.getInstance ().getTime(), 900* 1000);
	}
	public static void main(String[] args) {
		   operateOnTime();
		   
		 
		  }
}
